from app import db


class Sku(db.Model):
    __tablename__ = 'sku'
    id = db.Column(db.String(20), primary_key=True)
    keyword = db.Column(db.String(20))
    trans_key = db.Column(db.String(20))
    name = db.Column(db.String(100))
    label = db.Column(db.String(45))
    image_urls = db.Column(db.String(1000))

    def __repr__(self):
        return "sku(id=%s)" % self.id
